package com.cdz.charger.task;

import com.cdz.charger.service.impl.ReservationServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class SendReservationMsgTask {

    @Autowired
    private ReservationServiceImpl reservationService;

    public void sendReservationMsgJob(){
        reservationService.sendReservationMsg();
        log.info("已成功发送预约消息提醒");
    }
}
